<template>
	<view class="text-white">
		<cu-custom bgColor="nav-bg-blue" :isBack="true">
			<block slot="content"> 
				选择目的地
			</block>
		</cu-custom>
		<view class="cu-bar nav-bg-blue search">
			<view class="search-form radius">
				<text class="cuIcon-search"></text>
				<input @input="changeInput" v-model="search_text" focus="true" :adjust-position="false" type="text" placeholder="请输入目的地" confirm-type="search"></input>
			</view>
			<view class="action" @click="clearText">
				<text class="cuIcon-close"></text>
				<text>清除</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				search_text: ''
			}
		},
		methods: {
			changeInput(){
				
			},
			clearText(){
				this.search_text = ''
			}
		}
	}
</script>

<style>

</style>
